package com._方法;

import java.util.Scanner;

public class Test14 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double a = sc.nextDouble();

         double b =jueDueiZhi(a);
        System.out.println(b);


    }

    public static double jueDueiZhi(double a) {
        if(a<=0){
            return -a;
        }else{
            return a;
        }
    }
}
